package com.ruoyi.system.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.system.domain.BloodTwoDimensional;
import com.ruoyi.system.mapper.BloodTwoDimensionalMapper;
import com.ruoyi.system.service.BloodTwoDimensionalService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BloodTwoDimensionalServiceImpl implements BloodTwoDimensionalService {


    @Resource
    private BloodTwoDimensionalMapper bloodTwoDimensionalMapper;

    /**
     * @return
     */
    @Override
    @DataSource(DataSourceType.SLAVE)
    public List<BloodTwoDimensional> getBloodTwoDimensionalList() {
        return bloodTwoDimensionalMapper.getList();
    }

}
